package com.shmilxu.pay;

import com.shmilxu.pay.impl.AliPayFactory;

/**
 * 支付测试
 *
 * @author NiuXu17
 * @date Created in 2020/2/26
 */
public class PayTest {
    public static void main(String[] args) {
        IPayFactory factory = new AliPayFactory();
        IPay iPay = factory.create();
        iPay.pay();
    }
}
